class ParticipateModel {
  String ticketNumber;
  bool winner;

  ParticipateModel({this.ticketNumber, this.winner});

  ParticipateModel.fromJson(Map<String, dynamic> json) {
    ticketNumber = json['ticketNumber'];
    winner = json['winner'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['ticketNumber'] = this.ticketNumber;
    data['winner'] = this.winner;
    return data;
  }
}